/**
* @author AlbertDarren
* @contact 2563491540@qq.com
*/
#include <cstdio>
#include <cstring>
using namespace std;
bool isLeapYear(int year)
{
    return (year%400==0)||(year%4==0&&year%100!=0);
}
int daysByMonth[]={31,28,31,30,31,30,31,31,30,31,30,31};
int main_90()
{
    int n,year,month,day;
    scanf("%d-%d-%d",&year,&month,&day);
    scanf("%d",&n);

    printf("%04d-%02d-%02d\n",year,month,day);
	return 0;
}
